package edu.ptu.communityplatform.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Person)实体类
 *
 * @author makejava
 * @since 2025-04-04 17:28:40
 */
@Data
public class Person implements Serializable {
    private static final long serialVersionUID = 357294749509867149L;
    /**
     * 人员id
     */
    @TableId(type = IdType.AUTO)
    private Long personId;
    /**
     * 小区id
     */
    private Long plotId;
    /**
     * 人员名
     */
    private String personName;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 身份证号
     */
    private String cardId;
    /**
     * 员工类型id
     */
    private Integer roleId;
    /**
     * 创建时间
     */

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 逻辑删
     */

    @TableLogic
    private Integer isDeleted;


}

